package com.wit.po;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department implements java.io.Serializable {

	// Fields

	private String departmentId;
	private Area area;
	private Employee employee;
	private String departNameC;
	private String departNameE;
	private String supDepart;
	private String dposeCode;
	private String daddress;
	private String dphone;
	private String dfax;
	private String demail;
	private String dcrMan;
	private Date dcdate;
	private String shortName;
	private String companyNum;
	private String subcompanyNum;
	private Set employees = new HashSet(0);

	// Constructors

	/** default constructor */
	public Department() {
	}

	/** minimal constructor */
	public Department(String departmentId) {
		this.departmentId = departmentId;
	}

	/** full constructor */
	public Department(String departmentId, Area area, Employee employee,
			String departNameC, String departNameE, String supDepart,
			String dposeCode, String daddress, String dphone, String dfax,
			String demail, String dcrMan, Date dcdate, String shortName,
			 Set employees,String companyNum,String subcompanyNum) {
		this.departmentId = departmentId;
		this.area = area;
		this.employee = employee;
		this.departNameC = departNameC;
		this.departNameE = departNameE;
		this.supDepart = supDepart;
		this.dposeCode = dposeCode;
		this.daddress = daddress;
		this.dphone = dphone;
		this.dfax = dfax;
		this.demail = demail;
		this.dcrMan = dcrMan;
		this.dcdate = dcdate;
		this.shortName = shortName;
		this.employees = employees;
		this.companyNum=companyNum;
		this.subcompanyNum=subcompanyNum;
	}

	// Property accessors

	public String getDepartmentId() {
		return this.departmentId;
	}

	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public String getDepartNameC() {
		return this.departNameC;
	}

	public void setDepartNameC(String departNameC) {
		this.departNameC = departNameC;
	}

	public String getDepartNameE() {
		return this.departNameE;
	}

	public void setDepartNameE(String departNameE) {
		this.departNameE = departNameE;
	}

	public String getSupDepart() {
		return this.supDepart;
	}

	public void setSupDepart(String supDepart) {
		this.supDepart = supDepart;
	}

	public String getDposeCode() {
		return this.dposeCode;
	}

	public void setDposeCode(String dposeCode) {
		this.dposeCode = dposeCode;
	}

	public String getDaddress() {
		return this.daddress;
	}

	public void setDaddress(String daddress) {
		this.daddress = daddress;
	}

	public String getDphone() {
		return this.dphone;
	}

	public void setDphone(String dphone) {
		this.dphone = dphone;
	}

	public String getDfax() {
		return this.dfax;
	}

	public void setDfax(String dfax) {
		this.dfax = dfax;
	}

	public String getDemail() {
		return this.demail;
	}

	public void setDemail(String demail) {
		this.demail = demail;
	}

	public String getDcrMan() {
		return this.dcrMan;
	}

	public void setDcrMan(String dcrMan) {
		this.dcrMan = dcrMan;
	}

	public Date getDcdate() {
		return this.dcdate;
	}

	public void setDcdate(Date dcdate) {
		this.dcdate = dcdate;
	}

	public String getShortName() {
		return this.shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

	public String getCompanyNum() {
		return companyNum;
	}

	public void setCompanyNum(String companyNum) {
		this.companyNum = companyNum;
	}

	public String getSubcompanyNum() {
		return subcompanyNum;
	}

	public void setSubcompanyNum(String subcompanyNum) {
		this.subcompanyNum = subcompanyNum;
	}
	

}